package com.jf.assistant;

public class Testjf {

    public static void main(String[] args) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                for(int i = 0; i < 10; i++){
                    System.out.print("a"+i+"\r\n");
                    try {
                        zhanting(3000);
                    } catch (InterruptedException e) {

                        e.printStackTrace();
                    }
                }
            }
        }).start();

    }

    public static void zhanting(int time) throws InterruptedException {
        Thread.sleep(Long.parseLong(time+""));
    }
}
